package com.googlecode.openauth.web.dao;

import java.util.List;

import org.apache.ibatis.session.RowBounds;

import com.googlecode.openauth.web.entity.Authrize;

public interface IAuthrizeDao {
	public void addAuthrize(Authrize auth);
	public void delAuthrize(Authrize auth);
	public void updateAuthrize(Authrize auth);
	public List<Authrize> getAuthrizeByName(String actionname);
	public List<Authrize> getAuthrizeByDesc(String actiondesc);
	public int getAuthrizeCount();
	public List<Authrize> getAuthrize();
	public int searchAuthrizesCount(Authrize auth);
	public List<Authrize> searchAuthrizes(Authrize auth, RowBounds rowBounds);
}
